package com.lwz.laboratory.dao;

import com.lwz.laboratory.entity.Laboratory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LaboratoryMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Laboratory record);

    int insertSelective(Laboratory record);

    Laboratory selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Laboratory record);

    int updateByPrimaryKey(Laboratory record);
    List<Laboratory> getLabList(@Param("labname") String labname);
    List<Laboratory> getLabListbyth(@Param("technician") String technician);
}